<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    body,p,div{margin: 0px;padding:0px;font-family: "微软雅黑";}
    .course{
      width: 220px;
      background-color: #f2f4f6;
      border:1px #ececec solid;
      margin: 0 auto;
    }
    .list1{
      padding-top: 60px;
      background-color: #040a10;
      height: 90px;
      width: 100%;
    }
.content{
  text-align: center;
  font-size: 20px;
  /* line-height: 150px; */
  color: #fff;
  font-weight: bold;
}
.list2{
  font-size: 14px;
  border-bottom: 1px #d9dde1 solid;
  margin: 015px;
  padding:10px 5px 5px 5px;
  line-height: 1.5em;
}
.special{
  border-bottom:none ;
}
span{color: #93999f;font-size: 10px;}
  </style>
</head>
<body>
  <div class="course">
    <div class="list1">
      <p class="content">前端课程排列</p>
    </div>
    <div class="list2">
      <p>HTML+CSS基础课程</p>
      <span>46609人在学</span>
    </div>
    <div class="list2">
      <p>VUE基础课程</p>
      <span>46609人在学</span>
    </div>
    <div class="list2 special">
      <p>Reacts基础课程</p>
      <span>46609人在学</span>
    </div>
  </div>
</body>
</html>